package controllers

import (
	"github.com/gin-gonic/gin"
	"github.com/shenyisyn/goft-gin/goft"
)

type CommonController struct {
}

func (i *CommonController) Build(goft *goft.Goft) {

}
func (i *CommonController) Index(ctx *gin.Context) goft.Json {
	return gin.H{"err": "0", "errMsg": "", "data": struct{}{}}
}
func (i *CommonController) Name() string {
	return "IndexController"
}

func NewCommonController() *CommonController {
	return &CommonController{}
}
